package com.car.loan.project.xr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @author huangding
 * @date 2020/2/26 22:32
 */
@TableName("xr_overdue_advances_log")
@Data
public class OverdueAdvancesLog {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long loanId;

    @ApiModelProperty("1=支出 2=收入")
    private Integer type;

    @ApiModelProperty("发生金额")
    private BigDecimal amount;

    @ApiModelProperty("垫款余额")
    private Double balance;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("录入人")
    private Long creatorId;

    @ApiModelProperty("录入时间")
    private LocalDateTime createTime;
}
